Static Code Metrics Report

The static code metrics report provides statistics of the generated code. Metrics are estimated from static analysis of the generated code using the C data types specified in the Hardware: char 8, short 16, int 32, long 32, float 32, double 64, pointer 64 bits. Actual object code metrics might differ due to target specific compiler and platform settings.

Table of Contents

  1. File Information
  2. Global Variables
  3. Function Information

1. File Information [hide]

[-] Summary

Number of .c files : 15  
Number of .h files : 17  
Lines of code : 2,591  
Lines : 3,772  

[-] File details

File Name Lines of Code Lines Generated On
sortIdx.c 739 883 04/22/2021 3:09 PM
findpeaks.c 589 717 04/22/2021 3:09 PM
eml_setop.c 196 247 04/22/2021 3:09 PM
matlabfindpeaks_emxutil.c 130 200 04/22/2021 3:09 PM
sort1.c 96 143 04/22/2021 3:09 PM
rtwtypes.h 95 162 04/22/2021 3:09 PM
rtGetInf.c 92 142 04/22/2021 3:09 PM
matlabfindpeaks.c 89 125 04/22/2021 3:09 PM
matlabfindpeaks_emxAPI.c 85 143 04/22/2021 3:09 PM
matlabfindpeaks_types.h 64 105 04/22/2021 3:09 PM
rtGetNaN.c 63 100 04/22/2021 3:09 PM
diff.c 49 73 04/22/2021 3:09 PM
rt_nonfinite.c 43 101 04/22/2021 3:09 PM
rt_nonfinite.h 37 56 04/22/2021 3:09 PM
sign.c 22 45 04/22/2021 3:09 PM
findpeaks.h 20 39 04/22/2021 3:09 PM
matlabfindpeaks_emxutil.h 19 38 04/22/2021 3:09 PM
matlabfindpeaks_emxAPI.h 17 36 04/22/2021 3:09 PM
eml_setop.h 12 31 04/22/2021 3:09 PM
matlabfindpeaks.h 12 31 04/22/2021 3:09 PM
nonSingletonDim.c 12 35 04/22/2021 3:09 PM
sort1.h 12 31 04/22/2021 3:09 PM
sortIdx.h 12 31 04/22/2021 3:09 PM
diff.h 11 30 04/22/2021 3:09 PM
matlabfindpeaks_initialize.h 11 30 04/22/2021 3:09 PM
matlabfindpeaks_terminate.h 11 30 04/22/2021 3:09 PM
nonSingletonDim.h 11 30 04/22/2021 3:09 PM
sign.h 11 30 04/22/2021 3:09 PM
rtGetInf.h 10 26 04/22/2021 3:09 PM
rtGetNaN.h 8 24 04/22/2021 3:09 PM
matlabfindpeaks_initialize.c 7 29 04/22/2021 3:09 PM
matlabfindpeaks_terminate.c 6 29 04/22/2021 3:09 PM

2. Global Variables [hide]

Global variables defined in the generated code.
Global Variable Size (bytes) Reads / Writes Reads / Writes in a Function
     rtInf 8 2  1 
     rtMinusInf 8 2  1 
     rtNaN 8 4  1 
     rtInfF 4 2  1 
     rtMinusInfF 4 2  1 
     rtNaNF 4 1  1 
Total 36 13 

3. Function Information [hide]

View function metrics in a call tree format or table format. Accumulated stack numbers include the estimated stack size of the function plus the maximum of the accumulated stack size of the subroutines that the function calls.
View:Call Tree | Table
Function Name Accumulated Stack Size (bytes) Self Stack Size (bytes) Lines of Code Lines Complexity
[+]  matlabfindpeaks 1,456,269 416,084 79 94 7
[+]  matlabfindpeaks_initialize 44 0 1 4 1
[+]  emxCreateWrapper_real_T 36 24 17 21 2
[+]  emxCreate_real_T 36 24 16 20 2
[+]  emxCreateND_real_T 28 16 13 17 2
[+]  emxCreateWrapperND_real_T 28 16 14 19 2
[+]  emxInitArray_real_T 12 0 1 4 1
[+]  emxDestroyArray_real_T 0 0 1 4 1
      matlabfindpeaks_terminate 0 0 0 4 1
      rtIsInfF 0 0 1 4 2
      rtIsNaNF 0 0 5 14 2